package sample.entity;

public class ConnectionEntity {
    public static ConnectionEntity connectionEntity = new ConnectionEntity();
    private String dbname;
    private String username;
    private String password;

    public static ConnectionEntity getConnectionEntity() {
        return connectionEntity;
    }

    public String getDbname() {
        return dbname;
    }

    public void setDbname(String dbname) {
        this.dbname = dbname;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "ConnectionEntity{" +
                "dbname='" + dbname + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
